package main

import (
	"github.com/gin-gonic/gin"
	"zk3.12/api"
	"zk3.12/config"
	"zk3.12/inits"
)

func main() {
	config.Init()
	inits.MysqlConfig()
	inits.RedisConfig()
	r := gin.Default()
	api.Router(r)
	r.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
